home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Extra 1997 #2 / Amiga Plus Extra 1997 #2.iso / pd / misc / amoked / macros / tex.aed < prev   
Encoding:
Text File  |  1997-02-16  |  449 b   |  26 lines

  1. /* LoadTeXLog.dme */
  2.  
  3. parse arg name opts .
  4. options results
  5.  
  6. if name = 'unnamed' then
  7.     do
  8.      'escimm (chfilename )'
  9.      exit
  10.     end
  11. 'if m saveold'
  12.  
  13. 'getval $screenname'
  14. screenname = result
  15.  
  16. call close 'STDERR'
  17. call open 'STDERR','NIL:','W'
  18. call close 'STDIN'
  19. call close 'STDOUT'
  20. call open 'STDOUT','CON:0/0/640/256/RexxCon/SCRREN'||screenname,'RW'
  21. call pragma '*','STDOUT'
  22.  
  23. address command 'virtex <* >*' opts name
  24.  
  25. if rc ~=0 then delay(250)
  26.